package com.demo2do.wechatmcs.handle;

import com.demo2do.wechatmcs.entity.token.JsTicket;
import com.demo2do.wechatmcs.entity.token.Token;


/**
 * 
 * @author mohanlan
 *
 */
public interface WechatTokenHandler {
    
    /**
     * Get wechat global access token and expire time
     * 
     * @return
     */
    public Token requestAccessToken();
    
    /**
     * Get wechat js-sdk's ticket
     *  
     * @return
     */
    public JsTicket requestJsTicket();
    
}
